<template>
  <!--  KPI管理 -->
  <div>
    <el-table
        class="table"
        :data="tableData"
        stripe
        style="width: 100%">
      <el-table-column
          prop="address"
          label="选择"
          width="50">
        <template slot-scope="scope">
          <el-radio v-model="radioSelect"
                    :label="scope.row.id"
                    @change.native="handleRadioChange(scope.row)"
          >&nbsp;
          </el-radio>
        </template>
      </el-table-column>
      <el-table-column
          prop="name"
          label="司机姓名"
          width="150">
      </el-table-column>
      <el-table-column
          prop="time"
          label="手机号码"
          width="250">
      </el-table-column>
      <el-table-column
          prop="time"
          label="类型"
          width="150">
      </el-table-column>
      <el-table-column
          prop="address"
          label="驾驶证号"
          width="200">
      </el-table-column>
      <el-table-column
          prop="address"
          label="所属网点"
          width="190">
      </el-table-column>
      <el-table-column
          prop="address"
          label="车牌号"
          width="200">
      </el-table-column>
      <el-table-column
          prop="address"
          label="当前位置"
          width="200">
      </el-table-column>
      <el-table-column
          prop="address"
          label="注册日期"
          width="200">
      </el-table-column>

    </el-table>
  </div>
</template>

<script>
export default {
  name: "HandoverReceipt",
  props:{
    tableData: [],
    identity: String,
  },
  data(){
    return{
      radioSelect: '1',
    }
  },
  methods:{


    // 选择单选框
    handleRadioChange(row) {
      console.log(row)
    },
  }
}
</script>

<style scoped>

</style>